package mymodel

type ProductDeptConfigReceivePolicy struct {
	IsReceiveParam bool `json:"isReceiveParam" description:"是否接收参数"`
	IsReceiveWave  bool `json:"isReceiveWave" description:"是否接收波形"`
	IsRestrict     bool `json:"isRestrict" description:"是否限制接收参数频率"`
	Frequency      int  `json:"frequency"  description:"接收参数频率（秒）"`
}

type ProductDeptConfigSavePolicy struct {
	IsSave     bool `json:"isSave" description:"是否保存"`
	PartBy     int  `json:"partBy" description:"数据隔离机制 1按分组 2设备"`
	TimeBy     int  `json:"timeBy" description:"时间分片机制 0不分 1按年 2按月 3按天 4按小时"`
	ExpireTime int  `json:"expireTime" description:"过期时间 天"`
}
